<?php
	
	/**
	 *  计算分多少页
	 *	$totalRecord 总记录数
	 */
	function getTotalPages($totalRecord) {
		//按每页10条算总页数
		$totalPages = ceil($totalRecord / PAGESIZE);
		return $totalPages;
	}

?>
